﻿using Abp.Domain.Entities;
using System;

namespace Batman.Jianbei.Forum.Core.ChatRoom
{
    /// <summary>
    /// 聊天记录
    /// </summary>
    public class TextHis : MsgHis
    {
        /// <summary>
        /// 消息文本
        /// </summary>
        public string Text { get; set; }

        public TextHis() { }

        public TextHis(string uid, string roomId, Mask mask, string text) :
            base(uid, roomId, mask, MsgTypeEnum.文本消息)
        {
            Text = text;
        }
    }
}
